<?php
require('lang.php');

$start_time = microtime_float();

$iCat = getValue('iCat');
$db_cat = new db_query('SELECT * FROM categories_multi WHERE cat_id=' . $iCat . ' AND lang_id=' . $lang_id);
$current_cat = mysql_fetch_array($db_cat->result);
unset($db_cat);
$keyword = getValue('keyword','str','GET','');
$keyword = replace_keyword_search($keyword);
$meta_keywords = implode(',', explode(' ', $keyword));
$meta_description = cut_string($keyword . ' | ' . tdt('Thong_tin_tim_kiem_ve') . ' "' . $keyword . '"' . $keyword . ' | ' . $con_meta_description, 255);
$site_title = $keyword . ' | ' . tdt('Thong_tin_tim_kiem_ve') . ' "' . $keyword . '"';
$nData = tdt('Thong_tin_tim_kiem_ve') . ' "' . $keyword . '"'
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?=str_replace("\n", "", htmlspecialchars($con_meta_keywords))?>">
<meta name="description" content="<?=str_replace("\n", "", htmlspecialchars($con_meta_description))?>">
<title><?php echo $site_title;?></title>
<style type="text/css" media="all">@import "<?=$theme_csspath?>main.css";</style>
<style type="text/css" media="all">@import "<?=$theme_csspath?>thickbox.css";</style>
<style type="text/css" media="all">@import "<?=$theme_imagepath?>theme.css";</style>
</head>
<body<?php echo $body_style;?>>
<div id="body"<?php echo $div_id_body_style;?>>
    <div id="container_body">
        <div id="container_header"><? include($real_path . "includes/inc_header.php");?></div>
        <div id="container_content">
            <div id="container_content_left"><? include($real_path . "includes/inc_home_left.php");?></div>
            <div id="container_content_center">
			<?
            include($real_path . "includes/inc_module_center_search_form.php");
			include($real_path . "includes/inc_quicksearch.php");
			?>
            </div>
            <div id="container_content_right"><? include($real_path . "includes/inc_home_right.php");?></div>
            <div class="clear"></div>
        </div>
        <div id="container_footer"><? include($real_path . "includes/inc_footer.php");?></div>
    </div>
</div>
</body>
</html>